var express = require('express');
var router = express.Router();
const bodyParser = require('body-parser');
const controllerBlock = require('../controller/block');


router.post('/:id/one-page-checkouts/:id/paymentform', bodyParser.json(), function (req, res) {
  res.json({ code: 0, data: controllerBlock.paymentform() }).end();
});

module.exports = router;
